﻿<Window x:Class="CapstoneProjectAEReader.GUIs.Others.AddItems"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300" ResizeMode="NoResize" Icon="pack://application:,,,/AEIcon.ico">
    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <DockPanel>
            <DockPanel.Background>
                <LinearGradientBrush>
                    <GradientStop Color="SkyBlue" Offset="0" />
                    <GradientStop Color="AliceBlue" Offset="1" />
                </LinearGradientBrush>
            </DockPanel.Background>

            <Border BorderBrush="White" BorderThickness="2,0,2,2" DockPanel.Dock="Bottom">
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="4">
                    <Button x:Name="btSave" Background="Transparent" BorderThickness="0" Margin="4" Click="HandleBtSave">
                        <Grid>
                            <Image Source="Image/Button.png" Height="20" />
                            <Label x:Name="lbSave" HorizontalAlignment="Center" />
                        </Grid>
                    </Button>
                    <Button x:Name="btCancel" Background="Transparent" BorderThickness="0" Margin="4"
                            Click="HandleBtCancel">
                        <Grid>
                            <Image Source="Image/Button.png" Height="20" />
                            <Label x:Name="lbCancel" HorizontalAlignment="Center" />
                        </Grid>
                    </Button>
                </StackPanel>
            </Border>
            <Border BorderBrush="White" BorderThickness="2" DockPanel.Dock="Top">
                <Label x:Name="lbContent" Foreground="FloralWhite" FontSize="15" FontWeight="SemiBold"
                       Background="CornflowerBlue" />
            </Border>
            <Border BorderBrush="White" BorderThickness="2,0,2,0" DockPanel.Dock="Top">
                <Grid Margin="4,8,4,2">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="80" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="30" />
                        <RowDefinition Height="*" />
                    </Grid.RowDefinitions>
                    <Label x:Name="lbName" Grid.Column="0" Grid.Row="0" />
                    <TextBox x:Name="txtName" Margin="4" Grid.Column="1" Grid.Row="0" />
                    <Label x:Name="lbDescription" Grid.Column="0" Grid.Row="1" />
                    <RichTextBox x:Name="txtDescription" HorizontalAlignment="Stretch" Margin="4" Grid.Column="1"
                                 Grid.Row="1" VerticalScrollBarVisibility="Visible" />
                </Grid>
            </Border>
        </DockPanel>
    </Grid>
</Window>